package skiree.host.abetsy.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("episode")
public class LocalEpisode {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;
    private Integer animeId;
    @TableField("episode_index")
    private Integer episodeIndex;
    private String title;
    private String url;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    private String status;
}
